/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.fee.mapper;

import com.jeeplus.core.persistence.BaseMapper;
import com.jeeplus.core.persistence.annotation.MyBatisMapper;
import com.jeeplus.modules.fee.entity.Payment;
import org.apache.ibatis.annotations.Param;

/**
 * 付款单MAPPER接口
 * @author weisong
 * @version 2017-09-20
 */
@MyBatisMapper
public interface PaymentMapper extends BaseMapper<Payment> {
    // 更新状态
    public int updateStatusById(@Param("status") Integer status, @Param("id") String id);

    // 查询最大的单号和日期【用来生成单号】
    public Payment findPaymentNoAndPaymentDate();
}